﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Authorization
{
    public class Util
    {
        public  static string[] ObjectToArrayOfString(object obj)
        {
            if (obj == null) return null;
            var objects = (object[]) obj;
            var strObjects = new string[objects.LongLength];
            Array.Copy(objects, strObjects, objects.LongLength);
            return strObjects;
        }
    }
}
